Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd: add dvc update --to-remote docs #2175

Merged
merged 2 commits into from
Feb 18, 2021
Merged

cmd: add dvc update --to-remote docs #2175

merged 2 commits into from
Feb 18, 2021

Conversation

isidentical
Copy link
Contributor

You may disregard these recommendations if you used the Edit on GitHub button from dvc.org to improve a doc in place.

❗ Please read the guidelines in the Contributing to the Documentation list if you make any substantial changes to the documentation or JS engine.

🐛 Please make sure to mention Fix #issue (if applicable) in the description of the PR. This causes GitHub to close it automatically when the PR is merged.

Please choose to allow us to edit your branch when creating the PR.

Thank you for the contribution - we'll try to review it as soon as possible. 🙏

@shcheklein shcheklein temporarily deployed to dvc-landing-update-to-r-uth1rb February 10, 2021 12:47 Inactive
Copy link
Member

@shcheklein shcheklein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trying to understand the semantics first, to see how to write it down properly.

@isidentical
Copy link
Contributor Author

Hey @shcheklein @jorgeorpinel are we missing anything on this?

@shcheklein shcheklein merged commit 3d7aed3 into master Feb 18, 2021
Comment on lines +52 to +56
- `--to-remote` - update the import `.dvc` file and
[transfer](/doc/command-reference/import-url#example-import-straight-to-the-remote)
the new data directly to remote storage (the default one unless `-r` is used).
No changes are done in the <abbr>workspace</abbr>. Use `dvc pull` to get the
data locally.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We forgot to mention that this only works for import-url imports @isidentical — per iterative/dvc/pull/5475

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

p.s. can you update --to-remote data import-urled without --to-remote? I assume there's no restriction to do so but just curious.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

p.s. can you update --to-remote data import-urled without --to-remote

yes

@shcheklein shcheklein deleted the update-to-remote branch February 28, 2021 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants